﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Framework.Mvc.AgencyGroupListViewModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>经销商分组列表</title>
</head>
<body>
    <table>
        <tr>
            <th>
                经销商分组名称
            </th>
            <th>
                修改经销商分组名称
            </th>
            <th>
                删除经销商分组名称
            </th>
        </tr>
        <%foreach (var item in this.Model.List)
          {
        %>
        <tr>
            <td>
                <%=item.Name %>
            </td>
            <td>
                <%: Html.ActionLink("修改", "Edit", new { identity = item.Id })%>
            </td>
            <td>
                <%: Html.ActionLink("删除", "Delete", new { identity = item.Id })%>
            </td>
        </tr>
        <%
            } %>
    </table>
    <p>
        <%: Html.ActionLink("创建经销商的分组", "Create") %>
    </p>
</body>
</html>
